package com.example.poemtest.entity;

import java.util.List;

/**
 * 用户已解锁的朝代的信息实体类
 * created by JHT on 2024/5/17
 */
public class DynastyToUserBean {
    private int code;
    private String msg;
    private List<DynastyToUserBean.DynastyToUser> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DynastyToUserBean.DynastyToUser> getData() {
        return data;
    }

    public void setData(List<DynastyToUser> data) {
        this.data = data;
    }
    public static class DynastyToUser {
        private int id;
        private int userId;
        private String dynasty;
        private int num;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getUserId() {
            return userId;
        }

        public void setUserId(int userId) {
            this.userId = userId;
        }

        public String getDynasty() {
            return dynasty;
        }

        public void setDynasty(String dynasty) {
            this.dynasty = dynasty;
        }

        public int getNum() {
            return num;
        }

        public void setNum(int num) {
            this.num = num;
        }
    }
}
